<?php

$hello = $application->createComponent( "javax.faces.HtmlInputText" );
$hello->setValue("hello, phpfaces!");
$hello->setId( "hello" );
$hello->setParent( $viewRoot );

$viewRoot->getChildren()->add( $hello );

/*
$testForm = $application->createComponent( "javax.faces.HtmlForm" );
$testForm->setId( "test-form" );
$testForm->setParent( $viewRoot );

$viewRoot->getChildren()->add( $testForm );
*/







?>